package com.leaf.lowcode.controller;
import com.leaf.lowcode.utils.RegularInstance;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/shangbao")
@PropertySource({"classpath:resource.properties"})
public class SController {

    @GetMapping(value="uploadHttp")
    @ResponseBody
    public void uploadHttp(){
        //1.获取wid,token
        String wid = RegularInstance.Wid;
        String token = RegularInstance.token;
        System.out.println("wid=="+wid);
        System.out.println("token=="+token);
    }
}


